﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicCMS
{
    public static class ConfigHelper
    {
        /// <summary>
        /// 获取组件的key
        /// </summary>
        /// <param name="configKey"></param>
        /// <returns></returns>
        public static string GetComponentKey(string configKey)
        {
            return ConfigurationManager.AppSettings[configKey];
        }
    }
}
